import { lazy } from 'react'

const RouterList = [
    {
        path: '/home',
        component: lazy(() => import('../page/Home'))
    },
    {
        path: '/detail',
        component: lazy(() => import('../page/Detail/index'))
    },
    {
        to: '/home',
        from: '/'
    }
]

export default RouterList